package cn.bdqn.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.bdqn.entity.BugDetail;
import cn.bdqn.service.BugDetailService;
import cn.bdqn.mapper.BugDetailMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 *
 */
@Service
public class BugDetailServiceImpl extends ServiceImpl<BugDetailMapper, BugDetail>
    implements BugDetailService{

    @Resource
    BugDetailMapper bugDetailMapper;


    @Override
    public List<BugDetail> selectList(int projectid, int pageNo, int pageSize) {
        return bugDetailMapper.selectList(projectid,pageNo,pageSize);
    }

    @Override
    public BugDetail select(int id) {
        return bugDetailMapper.select(id);
    }
}




